<?php
if (!defined('ALLOW_INCLUDE')) {
    //exit('Access Denied');
    header("HTTP/1.0 404 Not Found");
    exit;
}
?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>该篇笔记不可查看</title>
    <link rel="stylesheet" href="static/css/bootstrap.min.css" />
    <link rel="stylesheet" href="static/css/message.css" />
    <script src="static/js/message.min.js"></script>
</head>
<body>
</body>
<script>
    Qmsg.config({
        timeout:3000
    })
    <?php if($delete_note==1){?>
    Qmsg.error("该篇笔记不可查看，原因：不存在");
    <?php }else if($check_result==0){?>
    Qmsg.info("该篇笔记不可查看，原因：审核中");
    <?php }else if($check_result==2){?>
    Qmsg.error("该篇笔记不可查看，原因：笔记违规");
    <?php }?>
    setTimeout(function() {
        window.location.href = 'index.php';
    }, 2000);
</script>
</html>